package com.hjq.mallproduct.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hjq.common.utils.PageUtils;
import com.hjq.mallproduct.entity.AttrAttrgroupRelationEntity;
import com.hjq.mallproduct.entity.vo.AttrRelationVO;

import java.util.List;
import java.util.Map;

/**
 * 属性&属性分组关联
 *
 * @author Hjq
 * @email 1484397309@qq.com.com
 * @date 2022-05-24 13:33:42
 */
public interface AttrAttrgroupRelationService extends IService<AttrAttrgroupRelationEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveByAttrIdAndGroupId(Long attrId, Long attrGroupId);

    void updateByAttrIdAndGroupId(Long attrId, Long attrGroupId);

    void saveAttrRelationBatch(List<AttrRelationVO> attrRelationVOList);
}

